require( "gip")
gip.init()

local a = gip.load( "00001.tga")
local ret = a.save( "abc/2.png")
print( ret)
local b = gip.load( "2.png")
--getmetatable( a).__gc()
ret = b.save( "3.png")
print( ret)

function transCallback( filename)
    print( "**" .. filename)
end

gip.deInit()

